package ca.camosun.practice;

public class Commitable {

	/**
	 * 
	 * TestPrint - Text printing function for the program. Just prints
	 * "Hello World!" at the moment.
	 */
	public void testPrint() {
		System.out.println("Hello World!");
		System.out.println("Hello Victoria, Blades was here!");
	}

	/**
	 * DoMath - Does math!
	 * 
	 * @return 2+2 which is 4.
	 */
	public int doMath() {
		return 2 + 2;

	}

	public int doArithmetic(int fig1, int fig2) {
		return fig1 + fig2;
	}

	public int returnZero() {
		return 0;
	}

	// here is a method for calculating the square root of a number, as if we
	// would need that

	public double calculateSquareRoot(int aNumber) {
		double answer = Math.sqrt(aNumber);
		return answer;
	}
}